function uploadKnow(){
	$("#cuId").val($("#useridoflogin").val());
	//获得文件名称
	var fileName0 = $('#file_upload0').val(); 
	var fileName1 = $('#file_upload1').val(); 
	var fileName2 = $('#file_upload2').val(); 
	var fileName3 = $('#file_upload3').val(); 
	var fileName4 = $('#file_upload4').val(); 
	var fileName5 = $('#file_upload5').val();
	//截取文件类型,如(.xls)
	var fileType0 = fileName0.substr(fileName0.lastIndexOf("."), fileName0.length);
	var fileType1 = fileName1.substr(fileName1.lastIndexOf("."), fileName1.length);
	var fileType2 = fileName2.substr(fileName2.lastIndexOf("."), fileName2.length);
	var fileType3 = fileName3.substr(fileName3.lastIndexOf("."), fileName3.length);
	var fileType4 = fileName4.substr(fileName4.lastIndexOf("."), fileName4.length);
	var fileType5 = fileName5.substr(fileName5.lastIndexOf("."), fileName5.length);
	////验证文件类型
	if ((fileType0 == '.xls' || fileType0 == '.doc' || fileType0 == '.docx' || fileType0 == '.pdf')&&
		(fileType1 == '.xls' || fileType1 == '.doc' || fileType1 == '.docx' || fileType1 == '.pdf')&&
		(fileType2 == '.xls' || fileType2 == '.doc' || fileType2 == '.docx' || fileType2 == '.pdf')&&
		(fileType3 == '.xls' || fileType3 == '.doc' || fileType3 == '.docx' || fileType3 == '.pdf')&&
		(fileType4 == '.xls' || fileType4 == '.doc' || fileType4 == '.docx' || fileType4 == '.pdf')&&
		(fileType5 == '.xls' || fileType5 == '.doc' || fileType5 == '.docx' || fileType5 == '.pdf')) {
		$.ajax({
			url :Server + "/app/ins/uploadKnow", //上传地址		
			type : 'POST',
			cache : false,
			data : new FormData($('#uploadKnow')[0]),
			processData : false,
			 async:false,
			contentType : false,
			success : function(data) {																			 
						alert("上传成功");
						$(location).attr('href', 'publishInstrument17');
						return false;																		
			},
			error: function(data){
				alert("上传失败");
			}
		});
	}else {
		$("#fileTypeError").html('*上传文件类型错误,支持类型: .doc .docx ');
	}
	
}